package com.kk.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kk.pojo.entity.SysRole;
import com.kk.pojo.entity.SysUserRole;
import org.springframework.stereotype.Service;

import java.math.BigInteger;
import java.util.List;

/**
 * @author kl
 * @version 1.0
 * @description: TODO
 * @date 2025/10/13 下午5:53
 */

public interface SysUserRoleService extends IService<SysUserRole> {

    /**
     * 根据用户id查找到用户的角色Id
     * @param userId
     * @return
     */
    public List<SysUserRole> selectRoleByUserId(BigInteger userId);
}
